package com.pukea.app.medical.entity;

public class PhaInfo {
	private String phaid;
	private String phaname;
	private String phasex;
	private String phasexname;
	private String phasfzh;
	private String phacsrq;
	private String phanl;
	private String phasg;
	private String phatz;
	private String mobile;
	private String defaultflag;
	private String openid;
	private String ayid;
	
	public PhaInfo(String phaid, String phaname, String phasex,
			String phasexname, String phasfzh, String phacsrq, String phanl,
			String phasg, String phatz, String mobile, String defaultflag,
			String openid, String ayid) {
		super();
		this.phaid = phaid;
		this.phaname = phaname;
		this.phasex = phasex;
		this.phasexname = phasexname;
		this.phasfzh = phasfzh;
		this.phacsrq = phacsrq;
		this.phanl = phanl;
		this.phasg = phasg;
		this.phatz = phatz;
		this.mobile = mobile;
		this.defaultflag = defaultflag;
		this.openid = openid;
		this.ayid = ayid;
	}
	
	public PhaInfo() {
		// TODO Auto-generated constructor stub
	}

	public String getPhaid() {
		return phaid;
	}
	public void setPhaid(String phaid) {
		this.phaid = phaid;
	}
	public String getPhaname() {
		return phaname;
	}
	public void setPhaname(String phaname) {
		this.phaname = phaname;
	}
	public String getPhasex() {
		return phasex;
	}
	public void setPhasex(String phasex) {
		this.phasex = phasex;
	}
	public String getPhasexname() {
		return phasexname;
	}
	public void setPhasexname(String phasexname) {
		this.phasexname = phasexname;
	}
	public String getPhasfzh() {
		return phasfzh;
	}
	public void setPhasfzh(String phasfzh) {
		this.phasfzh = phasfzh;
	}
	public String getPhacsrq() {
		return phacsrq;
	}
	public void setPhacsrq(String phacsrq) {
		this.phacsrq = phacsrq;
	}
	public String getPhanl() {
		return phanl;
	}
	public void setPhanl(String phanl) {
		this.phanl = phanl;
	}
	public String getPhasg() {
		return phasg;
	}
	public void setPhasg(String phasg) {
		this.phasg = phasg;
	}
	public String getPhatz() {
		return phatz;
	}
	public void setPhatz(String phatz) {
		this.phatz = phatz;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getDefaultflag() {
		return defaultflag;
	}
	public void setDefaultflag(String defaultflag) {
		this.defaultflag = defaultflag;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getAyid() {
		return ayid;
	}
	public void setAyid(String ayid) {
		this.ayid = ayid;
	}
	@Override
	public String toString() {
		return "PhaInfo [phaid=" + phaid + ", phaname=" + phaname + ", phasex="
				+ phasex + ", phasexname=" + phasexname + ", phasfzh="
				+ phasfzh + ", phacsrq=" + phacsrq + ", phanl=" + phanl
				+ ", phasg=" + phasg + ", phatz=" + phatz + ", mobile="
				+ mobile + ", defaultflag=" + defaultflag + ", openid="
				+ openid + ", ayid=" + ayid + "]";
	}
	
	public String toJsonStr(){
		StringBuffer str = new StringBuffer();
		str.append("{");
		str.append("\"").append("phaid").append("\":\"").append((getPhaid()!=null)?getPhaid():null).append("\",");
		str.append("\"").append("phaname").append("\":\"").append((getPhaname()!=null)?getPhaname():null).append("\",");
		str.append("\"").append("phasex").append("\":\"").append((getPhasex()!=null)?getPhasex():null).append("\",");
		str.append("\"").append("phasexname").append("\":\"").append((getPhasexname()!=null)?getPhasexname():null).append("\",");
		str.append("\"").append("phasfzh").append("\":\"").append((getPhasfzh()!=null)?getPhasfzh():null).append("\",");
		str.append("\"").append("phacsrq").append("\":\"").append((getPhacsrq()!=null)?getPhacsrq():null).append("\",");
		str.append("\"").append("phanl").append("\":\"").append((getPhanl()!=null)?getPhanl():null).append("\",");
		str.append("\"").append("phasg").append("\":\"").append((getPhasg()!=null)?getPhasg():null).append("\",");
		str.append("\"").append("phatz").append("\":\"").append((getPhatz()!=null)?getPhatz():null).append("\",");
		str.append("\"").append("mobile").append("\":\"").append((getMobile()!=null)?getMobile():null).append("\",");
		str.append("\"").append("defaultflag").append("\":\"").append((getDefaultflag()!=null)?getDefaultflag():null).append("\",");
		str.append("\"").append("openid").append("\":\"").append((getOpenid()!=null)?getOpenid():null).append("\",");
		str.append("\"").append("ayid").append("\":\"").append((getAyid()!=null)?getAyid():null).append("\"");
		str.append("}");
		return str.toString();
	}
	
}
